﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html;charset=UTF-8"%>

<%@page import="java.util.ArrayList"%>
<%@page import="java.util.List"%><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>汇丰晋信天才儿童的添财计划—天才基因早发现</title>
<link href="css/main.css" media="screen" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.STYLE1 {color: #eb1a11}
.STYLE3 {
	font-size: 18px;
	font-weight: bold;
	color: #FF0000;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript" charset="utf-8">
	function openWeb(url){
		window.open(url, '_blank', '');
	}

	function submitForm(){
		if(document.riskForm.riskHigh.checked == false
				&& document.riskForm.riskMid.checked == false
				&& document.riskForm.riskLow.checked == false){
			alert('请选择您的风险承受能力!');
			return; 
		}
		document.riskForm.submit();
	}
</script>
</head>
<% 
	String[][] funds = {
		{"汇丰晋信大盘基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1902&childcategoryid=1903"},
		{"汇丰晋信中小盘基金", "http://www.hsbcjt.cn/PE/docs/hsbcjt_smallcap_index.htm"},	
		{"汇丰晋信低碳先锋基金", "http://www.hsbcjt.cn/dtjj/hsbcjt_dtjj_100417index.jsp"},
		{"汇丰晋信消费红利基金", "http://www.hsbcjt.cn/xfhl.jsp"},
		{"汇丰晋信科技先锋基金", "http://www.hsbcjt.cn/kjxf/hsbcjt_kjdt_index.jsp"},
		{"汇丰晋信龙腾基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1108&childcategoryid=1110"},
		{"汇丰晋信动态策略基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1193&childcategoryid=1194"},
		{"汇丰晋信2026基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1694&childcategoryid=1695"},
		{"汇丰晋信动态策略基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1193&childcategoryid=1194"},
		{"汇丰晋信平稳增利基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1743&childcategoryid=1744"},
		{"汇丰晋信2016基金", "http://www.hsbcjt.cn/column.hsweb?mode=searchtopic&channelid=6&categoryid=1109&childcategoryid=1115"},
		
	};
	List<String[]> fundsMatch = new ArrayList<String[]>();	
	boolean showMatch = false;
	String risk = request.getParameter("risk");
	System.out.println("risk="+risk);
	if("high".equals(risk)){
		for(int i = 0; i < 5; i++)
			fundsMatch.add(funds[i]);
	}else if("mid".equals(risk)){
		for(int i = 5; i < 8; i++)
			fundsMatch.add(funds[i]);
	}else if("low".equals(risk)){
		for(int i = 8; i < 11; i++)
			fundsMatch.add(funds[i]);
	}else
		showMatch = false;
%>
<body>
<div class="head">
  <script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','950','height','222','src','images/top','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','wmode','transparent','movie','images/top' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="950" height="222">
    <param name="movie" value="images/top.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="images/top.swf" width="950" height="222" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed>
  </object>
</noscript></div>
  <div class="top">
	<div class="nav">
    <div class="nav01"><a href="<%="Y".equals(session.getAttribute("userAdd"))?"zjcy-1.jsp":"zjcy.jsp"%>" class="demo">直接参与</a></div>
    <div class="nav02"><a href="jxsz.jsp" class="demo">奖项设置</a></div>
    <div class="nav02"><a href="cyff.jsp" class="demo">参与方法</a></div>
    <div class="nav02"><a href="lhjy.jsp" class="demo">联合基因</a></div>
    <div style="clear:both;"></div>
  </div>
  
  <div class="top_left02"><span class="STYLE3">了解适合您的定投产品:</span><br />
  <form name="riskForm" method="post" action="zjcy-5-1.jsp">
    请选择您相应的风险承受能力：
      <table width="100%" border="0" cellspacing="0" cellpadding="4">
        <tr>
          <td width="10"><label>
            <input type="radio" name="risk" id="riskHigh" value="high" <%="high".equals(risk)?"checked":""%>/> 
          </label></td>
          <td>可承担较高风险</td>
        </tr>
        <tr>
          <td><input type="radio" name="risk" id="riskMid" value="mid" <%="mid".equals(risk)?"checked":""%>/></td>
          <td>可承担中等风险</td>
        </tr>
        <tr>
          <td><input type="radio" name="risk" id="riskLow" value="low" <%="low".equals(risk)?"checked":""%>/></td>
          <td>可承担较低风险</td>
        </tr>
      </table>
  </form>
      <div class="box01">
       	<a href="zjcy-4.jsp"><img src="images/icon11.png" width="98" height="33" border="0" /></a>　　
       	<a href="javascript:submitForm()"><img src="images/icon01.png" width="98" height="33" border="0" /></a>
      </div>
  </div>
<% 
	if(showMatch){
%>
  <div class="top_right02">
    根据您的风险承受能力，您适合定投：
      <table width="100%" border="0" cellspacing="0" cellpadding="2">
<% 
	for(String[] fundPair : fundsMatch){
%>
        <tr>
          <td><%=fundPair[0]%></td>
          <td><a href="javascript:openWeb('<%=fundPair[1]%>')"><img src="images/icon12.png" width="83" height="20" border="0"/></a></td>
        </tr>
<% 
	}

	for(int i = 0; i < 5 - fundsMatch.size(); i++){
%>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
<% 
	}
%>
      </table>
    <div class="box06">
    	<a href="zjcy-5.jsp"><img src="images/icon11.png" width="98" height="33" border="0" /></a>　　
    	<a href="zjcy-6.jsp"><img src="images/icon01.png" width="98" height="33" border="0" /></a>
    </div>
   
  </div>
  <div style="clear:both;"></div>
  <div class="foot"><a href="javascript:openWeb('https://etrading.hsbcjt.cn/ET/chinapay/unionidentify_open_pre.jsp')"><img src="images/icon13.png" border="0" /></a></div> 
<%
	}
%>
</div>
<!-- 
<div class="foot01">网址：<a href="www.hsbcjt.cn" target="_blank">www.hsbcjt.cn</a> 电话：（021）38789998<br />
    <span class="STYLE1">风险提示：</span>基金投资有风险,请投资者注意“买者自负”。投资人应当充分了解基金定期定额投资和零存整取等储蓄方式的区别。定期定额投资是引导投资人进行长期投资、平均<br /> 
  　　　　　投资成本的一种简单易行的投资方式。但是定期定额投资并不能规避基金投资所固有的风险，不能保证投资人获得收益，也不是替代储蓄等理财方式
</div>
-->
</body>
</html>
